<template>
    <div>
        <van-area title="省市区选择" :area-list="areaList"
                  @confirm="showArea"/>
    </div>
</template>
import {areaList} from '@vant/area-data'
<script>

    import {areaList} from '@vant/area-data'
    export default {
        data(){
            return{areaList}
        },
        methods:{
            showArea(area){
                console.log(area);
            }
        }
    }
</script>

